
import {Button} from "antd"
import {inject,observer} from "mobx-react"


export default inject('mdata')(observer(function Gudie(props:any){
  console.log(props)
  const {count,changeCount} = props.mdata;
  return (
    <div>
      <h2> Gudie - Gudie  -- {count}</h2>
      <Button type="primary" onClick={()=>changeCount(100) }>Primary Button</Button>
      <Button>Default Button</Button>
      <Button type="dashed">Dashed Button</Button>
      <br />
      <Button type="text">Text Button</Button>
      <Button type="link">Link Button</Button>
    </div>
  )
}))